
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for resultStatType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="resultStatType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="ExtendedStat" type="{}resultExtendedStatType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Pos" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Attempt" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Avg" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Percent" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Rank" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="RankEqual" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="SortOrder" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "resultStatType", propOrder = {
    "extendedStat"
})
public class ResultStatType {

    @XmlElement(name = "ExtendedStat")
    protected List<ResultExtendedStatType> extendedStat;
    @XmlAttribute(name = "Type", required = true)
    protected String type;
    @XmlAttribute(name = "Code", required = true)
    protected String code;
    @XmlAttribute(name = "Pos")
    protected String pos;
    @XmlAttribute(name = "Value")
    protected String value;
    @XmlAttribute(name = "Attempt")
    protected String attempt;
    @XmlAttribute(name = "Avg")
    protected String avg;
    @XmlAttribute(name = "Percent")
    protected String percent;
    @XmlAttribute(name = "Rank")
    protected String rank;
    @XmlAttribute(name = "RankEqual")
    protected String rankEqual;
    @XmlAttribute(name = "SortOrder")
    protected String sortOrder;

    /**
     * Gets the value of the extendedStat property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the extendedStat property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getExtendedStat().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ResultExtendedStatType }
     * 
     * 
     */
    public List<ResultExtendedStatType> getExtendedStat() {
        if (extendedStat == null) {
            extendedStat = new ArrayList<ResultExtendedStatType>();
        }
        return this.extendedStat;
    }

    /**
     * Gets the value of the type property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getType() {
        return type;
    }

    /**
     * Sets the value of the type property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setType(String value) {
        this.type = value;
    }

    /**
     * Gets the value of the code property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets the value of the code property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCode(String value) {
        this.code = value;
    }

    /**
     * Gets the value of the pos property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPos() {
        return pos;
    }

    /**
     * Sets the value of the pos property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPos(String value) {
        this.pos = value;
    }

    /**
     * Gets the value of the value property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getValue() {
        return value;
    }

    /**
     * Sets the value of the value property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * Gets the value of the attempt property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAttempt() {
        return attempt;
    }

    /**
     * Sets the value of the attempt property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAttempt(String value) {
        this.attempt = value;
    }

    /**
     * Gets the value of the avg property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAvg() {
        return avg;
    }

    /**
     * Sets the value of the avg property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAvg(String value) {
        this.avg = value;
    }

    /**
     * Gets the value of the percent property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPercent() {
        return percent;
    }

    /**
     * Sets the value of the percent property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPercent(String value) {
        this.percent = value;
    }

    /**
     * Gets the value of the rank property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRank() {
        return rank;
    }

    /**
     * Sets the value of the rank property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRank(String value) {
        this.rank = value;
    }

    /**
     * Gets the value of the rankEqual property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRankEqual() {
        return rankEqual;
    }

    /**
     * Sets the value of the rankEqual property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRankEqual(String value) {
        this.rankEqual = value;
    }

    /**
     * Gets the value of the sortOrder property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSortOrder() {
        return sortOrder;
    }

    /**
     * Sets the value of the sortOrder property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSortOrder(String value) {
        this.sortOrder = value;
    }

}
